package com.love.marriage.userBehaviorInfo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.love.marriage.common.vo.BaseVo;
import com.love.marriage.config.Long2StringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * description:  用户行为信息表Vo
 * author:       alex
 * createDate:   2024-10-14 23:30:59
 * version:      1.0.0
 */
@Getter
@Setter
@Accessors(chain = true)
@Schema(name = "UserBehaviorInfoVo", description = "用户行为信息表Vo")
public class UserBehaviorInfoVo extends BaseVo<UserBehaviorInfoVo>{

    @JsonSerialize(using = Long2StringSerializer.class)
    @Schema(description = "用户ID", type = "Long", implementation = Long.class)
    private Long userId;

    @Schema(description = "行为类型(like:喜欢, collect：收藏, unlike:不喜欢, noCollect：取消收藏, chat:聊天, view：查看)", type = "String", implementation = String.class)
    private String actionType;

    @JsonSerialize(using = Long2StringSerializer.class)
    @Schema(description = "被喜欢人id", type = "Long", implementation = Long.class)
    private Long actorId;

}
